import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.2

/* 
* ProgressBar 进度条的使用例子
*/

ProgressBar {
	minimumValue: 0;
	maximumValue: 1;
	value: 0.2;
	width: 180;
	height: 20;
	style: ProgressBarStyle {
		background: Rectangle {
			implicitWidth: 200;
			implicitHeight: 20;
			border.width: 1;
			border.color: control.hovered?"green":"gray";
			color: "lightgray";
		}
		progress: Rectangle {
			color: "#208020";
		}
	}
}
